﻿namespace Cos.Core.NHibernate.Tests
{
    using NUnit.Framework;

    public class CultureDataModel_Fixture : FixtureBase
    {
        public CultureDataModel_Fixture()
            : base(new TestModel())
        {
        }

        [Test]
        public void CanMapCultureDataModel()
        {
            new PersistenceSpecification<CultureDataModel>(Session)
                .CheckProperty(x => x.Id, "en-CA")
                .CheckProperty(x => x.CultureDesc, "English Canada")
                .CheckProperty(x => x.IsDefault, true)
                .VerifyTheMappings();
        }
    }
}
